import { ui } from "../ui/layaMaxUI";
import sceneutil from "../utils/sceneutil";

export default class shifei extends Laya.Script {
    constructor() {
        super();
    }

    onEnable() {
        let btnclose = this.owner.getChildByName('btnclose') as Laya.Button;
        btnclose.on("click", this, () => {
            sceneutil.Instance.hideBlackBack()
            Laya.Scene.close("shifei.scene");
        })
    }
}